package com.example.woh.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author Lilac
 * @since 2023-04-11
 */
@Getter
@Setter
@TableName("submit")
public class Submit implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("homework_id")
    private Integer homeworkId;

    @TableField("user_id")
    private Integer userId;

    @TableField("time")
    private Date time;

    @TableField("score")
    private Integer score;

    @TableField("answer")
    private String answer;

    @TableField("src")
    private String src;


}
